package org.kjk.board;

import java.util.List;

import org.json.JSONException;
import org.json.JSONObject;
import org.kjk.oracleDB.DAO;

public interface BoardDAO extends DAO {
	
	@Override
	public <T> int insert(T obj);

	@Override
	public <T> int update(T obj);

	@Override
	public <T> int delete(T obj);

	@SuppressWarnings({ "unchecked", "rawtypes" })
	@Override
	public List select(String sql, String[] param);
	
	@Override
	public JSONObject selectJson(String sql, String[] param) throws JSONException;
}
